<div id="form-content" style="display: none;">

	<h3>Ajoutez vos commentaires !</h3>

	<%= form_remote_tag(:update => {:success => 'commentaires-list', :failure => 'commentaires-erreur'}, 
									  :url => {:action => 'ajout_commentaire', 
														 :id => @article },
										:loading => "Effect.Appear('spinner')",
										:after => "Effect.DropOut('form-content')",
										:complete => "$('spinner').style.display = 'none';$('commentaire_texte').value=''; new Effect.ScrollTo('bottom');return false;",
										
										:position => 'bottom') %>
										
<%= text_area('commentaire', 'texte', 'cols' => 40, 'rows' => 10 ) %>

	<br /><br />

	<%= submit_tag 'Envoyer' %>

	<%= end_form_tag %>
	
</div>